package com.luoyx.hauyne.audit.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户资料表
 * </p>
 *
 * @author Alan.Luo
 * @since 2024-09-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("hyn_trace_user_profile")
public class UserProfile extends Model<UserProfile>{

    private static final long serialVersionUID = 7397073816672480107L;
    /**
     * 主键，用户id
     */
    private Long userId;

    /**
     * 用户全名
     */
    private String fullName;


    @Override
    protected Serializable pkVal() {
        return this.userId;
    }

}
